module.exports = [// 邮箱
{
  path: '/cmsg/email',
  component: function component() {
    return import("../routes/Email");
  },
  models: [function () {
    return import("../models/email");
  }]
}, // 消息监控
{
  path: '/cmsg/message-query',
  component: function component() {
    return import("../routes/MessageQuery");
  },
  models: [function () {
    return import("../models/messageQuery");
  }]
}, // 消息模板
{
  path: '/cmsg/message-template',
  models: [],
  components: [{
    path: '/cmsg/message-template/list',
    component: function component() {
      return import("../routes/MessageTemplate/List");
    },
    models: [function () {
      return import("../models/messageTemplate");
    }]
  }, {
    path: '/cmsg/message-template/create',
    component: function component() {
      return import("../routes/MessageTemplate/Detail");
    },
    models: [function () {
      return import("../models/messageTemplate");
    }]
  }, {
    path: '/cmsg/message-template/detail/:id',
    component: function component() {
      return import("../routes/MessageTemplate/Detail");
    },
    models: [function () {
      return import("../models/messageTemplate");
    }]
  }]
}, // 消息接收配置
{
  path: '/cmsg/receive-config',
  component: function component() {
    return import("../routes/ReceiveConfig");
  },
  models: [function () {
    return import("../models/receiveConfig");
  }]
}, // 消息发送配置
{
  path: '/cmsg/send-config',
  models: [function () {
    return import("../models/sendConfig");
  }],
  components: [{
    path: '/cmsg/send-config/list',
    component: function component() {
      return import("../routes/SendConfig/List");
    },
    models: [function () {
      return import("../models/sendConfig");
    }]
  }, {
    path: '/cmsg/send-config/create',
    component: function component() {
      return import("../routes/SendConfig/Detail");
    },
    models: [function () {
      return import("../models/sendConfig");
    }]
  }, {
    path: '/cmsg/send-config/detail/:id',
    component: function component() {
      return import("../routes/SendConfig/Detail");
    },
    models: [function () {
      return import("../models/sendConfig");
    }]
  }]
}, // 短息配置
{
  path: '/cmsg/sms-config',
  component: function component() {
    return import("../routes/SMSConfig");
  },
  models: [function () {
    return import("../models/smsConfig");
  }]
}, // 站内消息
{
  path: '/cmsg/user-message',
  models: [],
  components: [{
    authorized: true,
    title: 'cpaas.common.title.userMessage',
    key: '/cmsg/user-message',
    path: '/cmsg/user-message/list',
    component: function component() {
      return import("../routes/UserMessage");
    },
    models: [function () {
      return import("../models/userMessage");
    }]
  }, {
    authorized: true,
    title: 'cpaas.common.title.userMessage',
    key: '/cmsg/user-message',
    // 当详情页展示的公告信息时, userMessageId 时 noticeId
    path: '/cmsg/user-message/detail/:type/:userMessageId',
    component: function component() {
      return import("../routes/UserMessage/MessageDetail");
    },
    models: [function () {
      return import("../models/userMessage");
    }]
  }, {
    authorized: true,
    title: 'cpaas.common.title.userMessage',
    key: '/cmsg/user-message',
    // 当详情页展示的公告信息时, userMessageId 时 noticeId
    path: '/cmsg/user-message/detail/:userMessageId',
    component: function component() {
      return import("../routes/UserMessage/MessageDetail");
    },
    models: [function () {
      return import("../models/userMessage");
    }]
  }]
}, // 公告
{
  path: '/cmsg/notices',
  models: [],
  components: [{
    path: '/cmsg/notices/list',
    component: function component() {
      return import("../routes/Notice");
    },
    models: [function () {
      return import("../models/cmsgNotice");
    }]
  }, {
    path: '/cmsg/notices/detail/:noticeId',
    component: function component() {
      return import("../routes/Notice/NoticeDetail");
    },
    models: [function () {
      return import("../models/cmsgNotice");
    }]
  }]
}];